package com.xmut.mall.member.vo;


import cn.hutool.core.bean.BeanUtil;
import com.xmut.mall.member.entity.MemberEvaluationEntity;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 会员评价VO
 *
 * @author Bulbasaur
 * @since 2020/11/30 15:00
 */
@Data
@NoArgsConstructor
public class MemberEvaluationVO extends MemberEvaluationEntity {

    private static final long serialVersionUID = 6696978796248845481L;

    // 评论图片
    private List<String> evaluationImages;

    // 回复评论图片
    private List<String> replyEvaluationImages;

    public MemberEvaluationVO(MemberEvaluationEntity memberEvaluation) {
        BeanUtil.copyProperties(memberEvaluation, this);
    }
}
